'use strict';
var src = './app';
var dist = './dist';
module.exports = {
  clean: {
    src: dist
  },
  bs: {
    logPrefix: 'bs',
    port: 8090,
    server: {
      baseDir: dist,
      directory: true,
      // index: 'page/index.html'
    },
    ui: false,
    open: false,            //停止自动打开浏览器
    notify: false          //不显示在浏览器中的任何通知。
  },
  html: {
    src: src + '/**/*.html',
    dist: dist
  },
  css: {
    src: src + '/**/*.{scss,css}',
    dist: dist,
    autoprefixer: {
      browsers: ['last 100 versions'],
      cascade: false,
      remove:false
    },
    minifyCss: {
      advanced: false,
      compatibility: "ie7",
      keepBreaks: true,
      keepSpecialComments: '*'
    }
  },
  js: {
    src: src + '/**/*.js',
    dist: dist
  },
  img: {
    src: src + '/**/*.{jpg,png}',
    dist: dist
  },
  lib: {
    src: src + '/lib/**/*',
    dist: dist + '/lib'
  }
}